﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Top.Api;
using Top.Api.Request;
using Top.Api.Response;
using TaoBaoServices;
using WangMiEntity.Download.SubUser;

namespace DownloadTaobaoAPI
{
    public class SubUserDownload : BaseDownload, IDownload, IDataOperate
    {
        /// <summary>
        /// 下载指定账户的子账号列表
        /// </summary>
        /// <param name="nick"></param>
        /// <param name="sessionKey"></param>
        /// <returns></returns>
        public void DownloadSellercenterSubusersGetResponse(string nick, string sessionKey)
        {
            var result = MockTaoBaoServices.SubUserAPI.SellercenterSubusersGetResponse(nick, sessionKey);
            this.WangMiDatabase.Insert(result);
        }

        public void Insert()
        {
            throw new NotImplementedException();
        }

        public void Update()
        {
            throw new NotImplementedException();
        }

        public void Delete()
        {
            throw new NotImplementedException();
        }

        public void SyncData()
        {
            throw new NotImplementedException();
        }
    }
}
